package com.neusoft.hifly;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import de.codecentric.boot.admin.server.config.EnableAdminServer;

/**
 * Title: Spring Boot Admin监控
 * <p>
 * Description: 启动
 * <p>
 * Copyright: 2019
 * <p>
 * Company: 东软汉枫
 *
 * @author lh_neu
 * @version 1.0.0
 */
@Configuration
@RefreshScope // Config 自动刷新
@EnableAutoConfiguration
@EnableDiscoveryClient
@EnableAdminServer
public class Application {

	public static void main(final String[] args) {
		SpringApplication.run(Application.class, args);
	}

}
